﻿using JinJun.YShow.BLL.IDenpendecyService;
using JinJun.YShow.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinJun.YShow.BLL.IService
{
    public interface IOrderService:IBaseService<OrderInfo>,IDenpendecy
    {

        // 订单分页查询        
        List<OrderQuery> GetOrderList(string adddate, string enddate);


        //删除两表OrderInfo,Order_Detail
        bool Delete(OrderInfo orderInfo,Order_Detail order_Detail);

        //批量删除
        bool BatchDeleteById(List<OrderInfo> orderInfo, List<Order_Detail> order_Detail);

        //修改发货状态
        bool UpdateStatus(OrderInfo orderInfo, Order_Detail order_Detail);

        //编辑订单信息
        bool EditOrderInfo(OrderInfo orderInfo, Order_Detail order_Detail);

        //订单类型
        List<OrderType> OrderType();

        //菜单
        List<OrderType> MenuInfo();
    }
}
